package cn.cheln.explorer.util;

import android.app.Activity;
import cn.cheln.support.data.text.xml.SPUtil;

public class Commit
{
  public static void ifShowCommitInvite(Activity paramActivity, String paramString, int paramInt)
  {
    Integer localInteger = (Integer)SPUtil.getValue(paramActivity, "file", paramString, Integer.class);
    if (localInteger.intValue() > paramInt)
      return;
    SPUtil.putValue(paramActivity, "file", paramString, Integer.valueOf(1 + localInteger.intValue()));
  }

  public static void showDialog(Activity paramActivity, String paramString, int paramInt1, int paramInt2)
  {
    if (((Integer)SPUtil.getValue(paramActivity, "file", paramString, Integer.class)).intValue() != paramInt2)
      return;
    paramActivity.showDialog(paramInt1);
  }
}

/* Location:           H:\360云盘\lewa_explorer_3.0\bin\FileApp_orig_dex2jar.jar
 * Qualified Name:     cn.cheln.explorer.util.Commit
 * JD-Core Version:    0.5.2
 */